package com.itheima.service.db;

import com.itheima.domain.db.Admin;

/**
 * @author Guanxing
 * @date 2021/9/30
 */
public interface AdminService {

    //根据用户名查询
    Admin findByUsername(String username);

    //根据id查询
    Admin findById(Long id);
}
